package com.example.demo.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

// 1. 先创建实体类
@Data
public class Userinfo implements Serializable  {

    private final long serializable = 1L;

    private int id;
    private String username;
    private String password;
    private String photo; // 头像
    private LocalDateTime createtime;
    private LocalDateTime updatetime;
    private int state;
}
